package com.huangpuweb.task.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class HpSubWayRowMapper implements RowMapper<HpSubway>{



	@Override
	public HpSubway mapRow(ResultSet rs, int rowNum) throws SQLException {
		HpSubway  lj= new HpSubway();
		lj.setId(rs.getString("id"));
		lj.setSubwayId(rs.getString("subwayId"));
		lj.setSubway_exit_number(rs.getString("subway_exit_number"));
		lj.setSpotCode(rs.getString("spotCode"));
		lj.setSubwayName(rs.getString("subwayName"));
		lj.setSubwayLine(rs.getString("subwayLine"));
		lj.setGd_jd(rs.getString("gd_jd"));
		lj.setGd_wd(rs.getString("gd_wd"));
		return lj;
	}

}
